package com.wdc.queue;


import org.junit.jupiter.api.Test;

public class TestArrayQueue1 {
    @Test
    public void offerLimit(){
        ArrayQueue1<Integer> queue = new ArrayQueue1<>(3);
        queue.offer(1);
        queue.offer(2);
        queue.offer(3);
        queue.offer(4);

        assertArrayEquals(new int[]{1,2,3,4},  queue);



    }

    private void assertArrayEquals(int[] ints, ArrayQueue1<Integer> queue) {
    }

}
